<html>
<head>
<title>WIKINDX DOCUMENTATION</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX ~ Updating the database</h2>

<p>WIKINDX quietly and automatically updates the database if it detects a disparity between the existing database and 
the required database.</p>
<p><b>Since database changes are important structural changes to WIKINDX, you should discuss the requirement for the 
change with other developers first.</b>
</p>
<p>
To set this up, you need to edit the <em>createSQL.xml</em> file in update/  and the 
dbVersion number in <a href="../classes/init/dbversionMethod.html">INIT::dbVersion()</a>.
</p>

<p>
The dbVersion number in <a href="../classes/init/dbversionMethod.html">INIT::dbVersion()</a> indicates the current 
dbVersion required by WIKINDX. If it is greater than WKX_database_summary.dbVersion, the WIKINDX code will quietly parse 
<i>createSQL.xml</i> the next time WIKINDX is run in addition to incrementing WKX_database_summary.dbVersion. So, if 
<a href="../classes/init/dbversionMethod.html">INIT::dbVersion()</a> is initially 3.1, to integrate any changes you simply change the number to 3.2.
<p align="right"><a href="../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../classes/index.html">WIKINDX classes</a>
</p>
</body>
</html>
